<template>
  <el-container style="height: 80vh; border: 1px solid #eee">
    <el-button type="primary" @click="console.log(diagramData)">save</el-button>
    <el-main>
      <BpmnEditor v-model="diagramData" />
    </el-main>
  </el-container>
</template>

<script lang="ts">
import { defineComponent,ref } from 'vue';
import BpmnEditor from '@/components/BpmnEditor.vue';

export default defineComponent({
  components: {
    BpmnEditor
  },
  setup() {
    const diagramData = ref<string>('');
    return {
      diagramData
    };
  }
});
</script>

<style>
</style>